#include <stdio.h>

int main(){
	int i;
	unsigned long long count=0;
	unsigned long long a=1;
	double m;
	for (i=1;i<=64;i++){
		count += a;
		a *= 2;
	}
	m=1.0*count/1.42e8;
	printf("%llu\n%.1f", count, m);
}
